package com.woniuxy.springparking.controller;

import com.woniuxy.springparking.asepct.SysLog;
import com.woniuxy.springparking.common.RestDto;
import com.woniuxy.springparking.common.RestResult;
import com.woniuxy.springparking.service.TPerUserService;
import com.woniuxy.springparking.vo.TPerUserVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TPerUserController {

    @Autowired
    private TPerUserService tPerUserService;
    @GetMapping("tpUserSelectByPage.do")
    @ApiOperation(value = "分页查询所有用户信息",httpMethod = "GET",
            protocols = "HTTP",produces = "application/json",
            response = RestResult.class,notes = "分页查询所有用户信息")
    public RestResult tpUserSelectByPage(TPerUserVo tPerUserVo){
        return tPerUserService.findTUByPage(tPerUserVo);
    }
}
